package com.ruoyi.common.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.common.core.domain.entity.MenuFast;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;

/**
 * 快捷菜单Mapper接口
 * @date 2024-03-22
 */
@Repository
public interface MenuFastMapper extends BaseMapper<MenuFast> {
    IPage<Map<String, Object>> selectPage(IPage<?> page, @Param("p") Map<String, Object> param);

    MenuFast getByMenuId(@Param("menuId") Long menuId, @Param("userId") Long userId);

    List<MenuFast> getMenuFastList(@Param("userId") Long userId);
}
